package com.ssyt.ssh.sys.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ssyt.ssh.sys.dao.DiscussDao;
import com.ssyt.ssh.sys.entity.Discuss;
import com.ssyt.ssh.sys.service.DiscussService;

@Service
public class DiscussServiceImpl implements DiscussService {

	@Autowired
	private DiscussDao discussDao;

	@Override
	public List<Discuss> listDiscuss() {
		return discussDao.listDiscuss();
	}

	@Override
	public List<Discuss> listOneDisscuss() {
		return discussDao.listOneDisscuss();
	}

}
